package threading;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2023-03-18
 * Time: 18:01
 */
public class ThreadDemo1 {
    public static void main(String[] args) {
        Thread [] threads=new Thread[10000000];
       for (int i=1;i<101;i++){
           final int n=i;
           threads[i]=new Thread(new Runnable() {
               @Override
               public void run() {

               }
           });
       }

    }
}
